﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Guoc.BigMall.Infrastructure.WeChat
{
    public enum WeChatRequestMessageType
    {
        Text =1, //文本
        Location=2, //地理位置
        Image=3, //图片
        Voice=4, //语音
        Video=5, //视频
        Link =6, //连接信息
        ShortVideo=7,//小视频
        Event =8, //事件推送
        Unknown =100,//未知类型
    }

    public enum WeChatResponseMessageType
    {
        [Description("文本")]
        Text = 1,
        [Description("单图文")]
        News = 2,
        [Description("音乐")]
        Music = 3,
        [Description("图片")]
        Image = 4,
        [Description("语音")]
        Voice = 5,
        [Description("视频")]
        Video = 6,
        [Description("多客服")]
        Transfer_Customer_Service =7,
    }

    public enum WeChatMenuButtonType
    {
        /// <summary>
        /// 点击
        /// </summary>
        click =1,
        /// <summary>
        /// Url
        /// </summary>
        view,
        /// <summary>
        /// 小程序
        /// </summary>
        miniprogram,
        /// <summary>
        /// 扫码推事件
        /// </summary>
        scancode_push,
        /// <summary>
        /// 扫码推事件且弹出“消息接收中”提示框
        /// </summary>
        scancode_waitmsg,
        /// <summary>
        /// 弹出系统拍照发图
        /// </summary>
        pic_sysphoto,
        /// <summary>
        /// 弹出拍照或者相册发图
        /// </summary>
        pic_photo_or_album,
        /// <summary>
        /// 弹出微信相册发图器
        /// </summary>
        pic_weixin,
        /// <summary>
        /// 弹出地理位置选择器
        /// </summary>
        location_select,
        /// <summary>
        /// 下发消息（除文本消息）
        /// </summary>
        media_id,
        /// <summary>
        /// 跳转图文消息URL
        /// </summary>
        view_limited
    }


    public enum WeChatEventType
    {
        /// <summary>
        /// 订阅
        /// </summary>
        Subscribe=1,

        /// <summary>
        /// 取消订阅
        /// </summary>
        UnSubscribe,

        /// <summary>
        /// 自定义菜单点击事件
        /// </summary>
        Click,

        /// <summary>
        /// 二维码扫描
        /// </summary>
        Scan,

        /// <summary>
        /// URL跳转
        /// </summary>
        View,
    }
}
